﻿/*----------------------------------------------------------
The base color for this template is #5c87b2. If you'd like
to use a different color start by replacing all instances of
#5c87b2 with your new color.
----------------------------------------------------------*/
html, body 
{
	height: 100%;
}

#wrap 
{
	min-height: 100%;
}

#page 
{
	/*overflow:auto;*/
	padding-bottom: 91px;
}  /* must be same height as the footer */

#footer 
{
	position: relative;
	border-top: 1px solid #CCCCCC;
	margin-top: -91px; /* negative value of footer height */
	height: 90px;
	clear:both;
} 

/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;
}

body
{
	background-color: #FFFFFF;
	font-size: .85em;
	font-family: Segoe UI, 微软雅黑, Sans-Serif;
	margin: 0;
	padding: 0;
	color: #000000;
}
a 
{
	outline: none;
}
a:link
{
	color: #000000;
	text-decoration: none;
	outline: none;
}
a:visited
{
	color: #000000;
	text-decoration: none;
}
a:hover
{
	color: #FF0000;
	text-decoration: none;
}
a:active
{
	color: #FF0000;
	text-decoration: none;
}

p, ul
{
	margin-bottom: 20px;
	line-height: 1.6em;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
	font-size: 1.5em;
	color: #000;
	font-family: Arial, Helvetica, sans-serif;
}

h1
{
	font-size: 2em;
	padding-bottom: 0;
	margin-bottom: 0;
}
h2
{
	padding: 0 0 10px 0;
}
h3
{
	font-size: 1.2em;
}
h4
{
	font-size: 1.1em;
}
h5, h6
{
	font-size: 1em;
}

/* this rule styles <h2> tags that are the 
first child of the left and right table columns */
.rightColumn > h1, .rightColumn > h2, .leftColumn > h1, .leftColumn > h2
{
	margin-top: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
#wrap
{
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

#header
{
	position: relative;
	margin-bottom: 0px;
	color: #000;
	padding: 25px 0 0;
	background-image: url("Images/header_background.png");
	background-repeat: repeat-x;
	background-position: left top;
	zoom: 1; /* workaround for ie7 bug */
}

#header h1
{
	font-weight: bold;
	padding: 5px 0;
	margin: 0 2px;
	color: #000000;
	border: none;
	line-height: 2em;
	font-size: 32px !important;
	display: inline;
}

#title
{
	margin: 0 5%;
	margin-bottom: 10px;
	height: 64px;
	width: 303px;
	background-image: url(Images/logo_header.png);
	background-repeat: no-repeat;
	background-position: left top;
	outline: none;
	display: block;
}

.loading-icon 
{
	width: 15px;
	height: 15px;
	text-align: center;
	margin: 10px auto;
	background-image: url(Images/loading.gif);
	background-position: center center;
	background-repeat: no-repeat;	
}	

#page-content 
{
	width: 90%;
	margin: 10px auto 0;
	min-width: 700px;
}

#main-wrapper 
{
	float: left;
	width: 100%;
}
#main
{
	padding: 0 10px 15px 0;
	margin-top: 0;
	margin-right: 310px;
	background-color: white;
	margin-bottom: 30px;
	_height: 1px; /* only IE6 applies CSS properties starting with an underscore */
	border-right: 1px dashed #CCCCCC;
}

#sidebar
{
	background-color: white;
	float: right;
	width: 300px;
	margin-left: -100%;
}

.hide-sidebar #main
{
	padding-right: 0;
	margin-right: 0;
	border-right: 0 none;
}

.hide-sidebar #sidebar
{
	display: none;
}

#footer
{
	color: #999;
	text-align: center;
	line-height: normal;
	font-size: .9em;
	overflow: hidden;
	background: url("Images/footer_background.gif") repeat-x scroll left top transparent;
}

#footer a 
{
	color: #999;
}

#footer-info 
{
	padding: 5px 0 0;
}

#ie6-notice 
{
	position: absolute; 
	right: 5%; 
	top: 20px; 
	background: lightyellow; 
	border: 1px solid #D2CBB7; 
	padding: 5px; 
	width: 500px; 
	z-index: 999;
}

/* TAB MENU   
----------------------------------------------------------*/
#menucontainer 
{
	clear: both;
	margin: 0;
	border-color: #D2CBB7;
	border-style: solid;
	border-width: 1px 0;
	background-image: url(Images/menu_background.png);
	background-repeat: repeat-x;
	background-position: left top;
	padding: 0 5%;
	height: 37px;
	overflow: hidden;
	zoom: 1; /* workaround for ie7 bug */
}

ul#menu
{
	padding: 0 20px;
	position: relative;
	margin: 0;
	text-align: left;
	clear: both;
	cursor: default;
	line-height: 37px;
	height: 37px;
	overflow: hidden;
	zoom: 1; /* workaround for ie7 bug */
	
}

ul#menu li
{
	display: inline;
	list-style: none;
}

ul#menu li#greeting
{
	padding: 10px 20px;
	font-weight: bold;
	text-decoration: none;
	color: #fff;
}

ul#menu li a
{
	padding: 0 5px;
	text-decoration: none;
	background-color: transparent;
	color: #7E5E51;
	outline: none;
}

ul#menu li a:hover
{
	color: red;
	text-decoration: none;
}

ul#menu li a:active
{
	text-decoration: none;
}

ul#menu li.selected a
{
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset 
{
	margin: 1em 0;
	padding: 1em;
	border: 1px solid #CCC;
}

fieldset p 
{
	margin: 2px 12px 10px 10px;
}

legend 
{
	font-size: 1.1em;
	font-weight: 600;
	padding: 2px 4px 8px 4px;
}

input[type="text"], input[type="password"], textarea 
{
	width: 400px;
	border: 1px solid #CCC;
	font-family: Segoe UI, 微软雅黑, Sans-Serif;
}

textarea 
{
	height: 6em;
}

/* TABLE
----------------------------------------------------------*/

table 
{
  border: solid 1px #e8eef4;
  border-collapse: collapse;
}

table td 
{
  padding: 5px;   
  border: solid 1px #e8eef4;
}

table th
{
  padding: 6px 5px;
  text-align: left;
  background-color: #e8eef4; 
  border: solid 1px #e8eef4;   
}

/* MISC  
----------------------------------------------------------*/
.clear
{
	clear: both;
}

.error
{
	color:Red;
}

div#title
{
	display:block;
	float:left;
	text-align:left;
}

#logindisplay
{
	font-size:1.1em;
	display:block;
	text-align:right;
	margin:10px;
	color:White;
}

#logindisplay a:link
{
	color: white;
	text-decoration: underline;
}

#logindisplay a:visited
{
	color: white;
	text-decoration: underline;
}

#logindisplay a:hover
{
	color: white;
	text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
	color: #ff0000;
}

.field-validation-valid
{
	display: none;
}

.input-validation-error
{
	border: 1px solid #ff0000;
	background-color: #ffeeee;
}

.validation-summary-errors
{
	font-weight: bold;
	color: #ff0000;
}

.validation-summary-valid
{
	display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label,
.editor-label,
.display-field,
.editor-field
{
	margin: 0.5em 0;
	padding: 5px 10px;
}

.display-label, .editor-label
{
	background-color: #C0C0FF;
}

.text-box
{
	width: 30em;
}

.text-box.multi-line
{
	height: 6.5em;
}

.tri-state
{
	width: 6em;
}

/* View global styles */


.novel-image-placeholder 
{
	background-image: url(Images/NovelImagePlaceHolder.png);
	background-position: center center;
	background-repeat: no-repeat;
	display: block;
	width: 100%;
	height: 100%;
}

.novel-image-placeholder-big
{
	background-image: url(Images/NovelImagePlaceHolderBig.png);
	background-position: center center;
	background-repeat: no-repeat;
	display: block;
	width: 100%;
	height: 128px;
}
